using System;
using NUnit.Framework;
using DreamPark;

namespace Tests_Parking
{
	[TestFixture()]
	public class Test_Trace
	{
		[Test()]
		public void Test_Instanciation ()
		{
			Vehicule v = new Vehicule("AAA 12 CC", TypeVehicule.Voiture, 200, 300);
			string d = DateTime.Now.ToString("g");
			Acces a = new Acces(1, new Teleporteur(1), new Teleporteur(2));
			
			Trace trace = new Trace(v, d, a);
			
			Assert.AreEqual(v, trace.Vehicule);
			Assert.AreEqual(d, trace.DateEntree);
			Assert.AreEqual(a, trace.Acces);
		}
	}
}

